<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新闻网站</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <header>
        <h1>新闻网站</h1>
        <nav>
            <ul>
                <li><a href="#">首页</a></li>
                <li><a href="#">科技</a></li>
                <li><a href="#">体育</a></li>
                <li><a href="#">娱乐</a></li>
            </ul>
        </nav>
        <div class="search-bar">
            <input type="text" placeholder="搜索...">
        </div>
        <div class="user-actions">
            <a href="login.html">登录</a>
            <a href="register.html">注册</a>
        </div>
    </header>
    <main>
        <section class="latest-news">
            <h2>最新新闻</h2>
            <article>
                <h3><a href="news.html">最新新闻标题 1</a></h3>
                <p>最新新闻的简短描述 1...</p>
            </article>
            <article>
                <h3><a href="news.html">最新新闻标题 2</a></h3>
                <p>最新新闻的简短描述 2...</p>
            </article>
        </section>
        <section class="popular-news">
            <h2>热门新闻</h2>
            <article>
                <h3><a href="news.html">热门新闻标题 1</a></h3>
                <p>热门新闻的简短描述 1...</p>
            </article>
            <article>
                <h3><a href="news.html">热门新闻标题 2</a></h3>
                <p>热门新闻的简短描述 2...</p>
            </article>
        </section>
    </main>
    <footer>
        <p>&copy; 2024 新闻网站。版权所有。</p>
    </footer>
    <script src="scripts.js"></script>
</body>
</html>
